package cn.hs.service;

import cn.hs.entity.Course;
import cn.hs.pojo.CourseSelect;
import cn.hs.util.Result;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @ClassName CourseService
 * @Description TODO
 * @Author yun
 * @Date 2024年10月22日 21:18
 * @Version 1.0
 */
public interface CourseService {

    Result add(Course course);

    Result delete(Integer id);

    Result update(Course course);

    Result selectAll(CourseSelect select);
    Result selectById(Integer id);
    Result selectAllIdAnName(CourseSelect select);
   PageInfo selectByTeacherIdCourses(Integer teacherId, int pageNum, int pageSize);


}
